<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>个人中心</title>
    <link href="../assets/css/bootstrap.css"rel="stylesheet">
    @@include('../components/css.html')
    <link href="../assets/css/left-menu.css" rel="stylesheet">
    <link href="../assets/css/personalCenter.css" rel="stylesheet">
</head>
<body class="index">
@@include('../components/header.html')

<div class="wapper">
    <div class="breadcrumbs">
        当前位置：<a href="../index/index.html">首页</a> > 个人中心
    </div>
    <div class="con clearfix">
        <div class="left-bar">
            <div class="select-wrap">
                <h2 class="title-h2">个人中心</h2>
                <ul class="mode-list" id="tabBox-ul">
                    <li class="active"><i class="fl"></i><span>个人信息</span></li>
                    <li class=""><i class="fl"></i><span>密码修改</span></li>
                    <li class=""><i class="fl"></i><span>我的需求</span></li>
                    <li class=""><i class="fl"></i><span>我的建议</span></li>
                </ul>
            </div>
        </div>
        <div class="list-con fr">
            <div class="clearfix form-box">
                <form class="form-horizontal input-box" id="personal-details">
                </form>
                <script id="personal-details-template" type="text/x-handlebars-template">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">个人登录用户名：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" value="{{LOGIN_NAME}}" id="registerName" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label"><span>*</span>真实姓名：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" value="{{REAL_NAME}}" id="realName">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label"><span>*</span>移动电话：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" value="{{PHONE}}" id="personagePhone">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label">电子邮箱：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" value="{{EMAIL}}" id="personageMail">
                        </div>
                    </div>
                </script>
                <div class="btn-line">
                    <div id="userMsg" class="feedback-error info-left"></div>
                    <button type="button" class="btn btn-primary btn-confirm" onclick="saveInfo()" id="btnCommit"><i></i>确定</button>
                </div>
            </div>
            <div class="clearfix form-box dn">
                <form class="form-horizontal input-box">
                    <div class="form-group">
                        <label class="col-sm-4 control-label"><span>*</span>原密码：</label>
                        <div class="col-sm-8">
                            <input type="password" class="form-control"  placeholder="" id="oldPassword">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label"><span>*</span>新密码：</label>
                        <div class="col-sm-8">
                            <input type="password" class="form-control"  placeholder="" id="newPassword">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label"><span>*</span>确认新密码：</label>
                        <div class="col-sm-8">
                            <input type="password" class="form-control"  placeholder="" id="surePassword">
                        </div>
                    </div>
                </form>
                <div class="btn-line">
                    <div id="pwdMsg" class="feedback-error info-left"></div>
                    <button type="button" class="btn btn-primary btn-confirm" onclick="changePwd()" id="btnChangepassword"><i></i>确定</button>
                </div>
            </div>
            <div class="clearfix form-box dn">
                <div class="search-box">
                    <input type="text" class="form-control search-input" id="txtNeed" placeholder="输入需求标题" onkeyup="keyDemand()">
                    <i class="icon iconfont icon-chaxun" onclick="search(1)"></i>
                </div>
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <td style="width:50px;">序号</td>
                        <td style="width:180px;">需求标题</td>
                        <td>需求类型</td>
                        <td style="width:250px;">需求描述</td>
                        <td>用途</td>
                        <td>资源提供部门</td>
                        <td style="min-width:100px;">申请时间</td>
                        <td>状态</td>
                    </tr>
                    </thead>
                    <tbody id="data-myneed-table">
                    </tbody>
                    <script id="data-myneed-table-template" type="text/x-handlebars-template">
                        {{#each this}}
                        <tr class="{{isEven @index}}">
                            <td>{{RowNumber}}</td>
                            <td>{{PL_DEMAND_TITLE}}</td>
                            <td>{{PL_DEMAND_TYPE}}</td>
                            <td>{{PL_DEMAND_DESCRIBE}}</td>
                            <td>{{PL_DEMAND_PURPOSE}}</td>
                            <td>{{PL_FUNCTION_DEPT_SELECT}}</td>
                            <td>{{PL_DATE}}</td>
                            <td>已申请</td>
                        </tr>`
                        {{/each}}
                    </script>
                </table>
                <div class="page-wrap clearfix">
                    <div class="total-num">共<span id="totalNums1">0</span>条需求申请记录</div>
                    <div id="page1" class="pagination fr clearfix"></div>
                    <span id="spage1" class="total-count fr">共0页，每页0条</span>
                </div>
            </div>
            <div class="clearfix form-box dn">
                <div class="search-box">
                    <input type="text" id="txtAdvise" class="form-control search-input" placeholder="输入建议反馈标题" onkeyup="keySuggest()">
                    <i class="icon iconfont icon-chaxun" onclick="search(2)"></i>
                </div>
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <td style="width:60px;">序号</td>
                        <td style="width: 200px;">建议反馈</td>
                        <td style="width: 400px;">建议反馈详情</td>
                        <td  style="width:120px;">提交时间</td>
                        <td>状态</td>
                    </tr>
                    </thead>
                    <tbody id="data-suggest-table">
                    </tbody>
                    <script id="data-suggest-table-template" type="text/x-handlebars-template">
                        {{#each this}}
                        <tr class="{{isEven @index}}">
                            <td>{{addOne @index}}</td>
                            <td>{{PL_ADVISE_TITLE}}</td>
                            <td>{{PL_ADVISE_DETAILS}}</td>
                            <td>{{PL_DATE}}</td>
                            <td>已提交</td>
                        </tr>
                        {{/each}}
                    </script>
                </table>
                <div class="page-wrap clearfix">
                    <div class="total-num">共<span id="totalNums2">0</span>条建议反馈记录</div>
                    <div id="page2" class="pagination fr clearfix"></div>
                    <span id="spage2" class="total-count fr">共0页，每页0条</span>
                </div>
            </div>
        </div>
    </div>
</div>

@@include('../components/footer.html')
</body>
@@include('../components/js.html')
<script src="../assets/js/common/jquery.pagination.js"></script>
<script src="../assets/js/user/info.js"></script>
</html>